package lp.xian.materials.service;

import java.util.List;
import lp.xian.materials.domain.WarehousingRequisition;
import lp.xian.materials.vo.WareVo;

/**
 * 采购入库单Service接口
 *
 * @author ruoyi
 * @date 2023-08-10
 */
public interface IWarehousingRequisitionService
{
    /**
     * 查询采购入库单
     *
     * @param warehousingRequisitionId 采购入库单主键
     * @return 采购入库单
     */
    public WarehousingRequisition selectWarehousingRequisitionByWarehousingRequisitionId(Integer warehousingRequisitionId);

    /**
     * 查询采购入库单列表
     *
     * @param warehousingRequisition 采购入库单
     * @return 采购入库单集合
     */
    public List<WarehousingRequisition> selectWarehousingRequisitionList(WarehousingRequisition warehousingRequisition);

    /**
     * 新增采购入库单
     *
     * @param warehousingRequisition 采购入库单
     * @return 结果
     */
    public int insertWarehousingRequisition(WarehousingRequisition warehousingRequisition);

    /**
     * 修改采购入库单
     *
     * @param warehousingRequisition 采购入库单
     * @return 结果
     */
    public int updateWarehousingRequisition(WarehousingRequisition warehousingRequisition);

    /**
     * 批量删除采购入库单
     *
     * @param warehousingRequisitionIds 需要删除的采购入库单主键集合
     * @return 结果
     */
    public int deleteWarehousingRequisitionByWarehousingRequisitionIds(Integer[] warehousingRequisitionIds);

    /**
     * 删除采购入库单信息
     *
     * @param warehousingRequisitionId 采购入库单主键
     * @return 结果
     */
    public int deleteWarehousingRequisitionByWarehousingRequisitionId(Integer warehousingRequisitionId);

    int auditWare(WareVo wareVo);
}
